package devideconquer;

public class Tag {
	public int from;
	public int to;
	public int sum;

	public Tag()
	{
		this.from = -1;
		this.to = -1;
		this.sum = 0;
	}
	
	public Tag(int from, int to, int sum) {
		this.from = from;
		this.to = to;
		this.sum = sum;
	}

	public Object clone()
	{
		return new Tag(from, to, sum);
	}
	
	public String toString()
	{
		return from + "," + to + "," + sum;
	}
}